<div class="banner">
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <%for(var i=0,item;i<banner.length;i++){%>
                <%item = banner[i];%>
                <div class="swiper-slide">
                    <img class="inline-b img-responsive" src="<%=item.img%>" alt="" />
                </div>
            <%}%>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>
        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>
    </div>
</div>